﻿#ifndef BACKGROUND_PICTURE_H
#define BACKGROUND_PICTURE_H

#include "Drawer.h"
#include "MLObj.h"

#include <opencv2/opencv.hpp>

class BackgroundPicture : public MLObj {
public:
	BackgroundPicture(
		int frame_size_x,
		int frame_size_y,
		double frame_rate,
		std::string file_path,
		Byte alpha
	);
	void get_frame(size_t frame_index, MLFrame& frame);

private:
	GLuint _mix_glsl;
	MLFrame _frame;
};

#endif